package com.example.demo.mapper;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.demo.pojo.SaTokenUser;
import com.example.demo.pojo.User;
import org.apache.ibatis.annotations.Mapper;

/**
 * sa牌用户映射器
 *
 * @author yzh
 * @date 2022/11/23
 */

@Mapper
public interface SaTokenUserMapper extends BaseMapper<SaTokenUser> {

    /**
     * 根据名称查询id
     *
     * @param Username 用户名
     * @return {@link Integer}
     */
    Integer selectIdByName(String username);
}
